Fix 64-bit build that I broke by making acpi table mapping
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Tue, 15 Nov 2005 18:46:48 +0000 (19:46 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Tue, 15 Nov 2005 18:46:48 +0000 (19:46 +0100)
fixup dependent on CONFIG_XEN_X86 (that only xen/i386
defines).

Signed-off-by: Keir Fraser <keir@xensource.com>
linux-2.6-xen-sparse/drivers/acpi/tables.c

index 59172d3e9d2ad43d2683fbcd07d1dd8cc7ca5835..a849e65c8531debe69a130e23171ccd674e04086 100644 (file)
@@ -565,7 +565,7 @@ acpi_table_get_sdt (
  * 
  * result: sdt_entry[] is initialized
  */
-#ifdef CONFIG_XEN_X86
+#if defined(CONFIG_XEN_X86) || defined(CONFIG_XEN_X86_64)
 #define acpi_rsdp_phys_to_va(rsdp_phys) (__fix_to_virt(FIX_ACPI_RSDP_PAGE) + \
                                           (rsdp_phys & ~PAGE_MASK))
 #else